package cz.data.domain.market.integration.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import cz.data.common.mybatis.BaseDao;
import cz.data.domain.market.model.entity.ServiceIntegrationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

@Mapper
public interface ServiceIntegrationDao extends BaseDao<ServiceIntegrationEntity> {

    @Override
    ServiceIntegrationEntity selectById(Serializable id);

    @Override
    <E extends IPage<ServiceIntegrationEntity>> E selectPage(E page, @Param(Constants.WRAPPER) Wrapper<ServiceIntegrationEntity> queryWrapper);
}
